home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
asm
/
a86_make.bat
< prev
next >
Wrap
DOS Batch File
|
1989-03-23
|
897b
|
39 lines
echo off
rem *** make.bat ***
rem
rem To invoke :
rem make source1 source2 source3 source4 source5
rem Do not include names of extensions.
rem Extension name is assumed to be "A86".
rem
if exist %1.obj echo %1.obj will be renamed to %1.bk!.
if exist %1.bk! del %1.bk!
if exist %1.obj rename %1.obj %1.bk!
if exist %5.a86 goto five
if exist %4.a86 goto four
if exist %3.a86 goto three
if exist %2.a86 goto two
if exist %1.a86 goto one
rem
echo *** make requires source file parameters ***
echo for example:
echo make source1 source2 source3
goto end
:one
a86 +E %1.a86 %1.obj
goto end
:two
a86 +E %1.a86 %2.a86 %1.obj
goto end
:three
a86 +E %1.a86 %2.a86 %3.a86 %1.obj
goto end
:four
a86 +E %1.a86 %2.a86 %3.a86 %4.a86 %1.obj
goto end
:five
a86 +E %1.a86 %2.a86 %3.a86 %4.a86 %5.a86 %1.obj
:end